if(${input$entity} instanceof Player _player) _player.closeContainer();